<?php
/* Smarty version 3.1.33, created on 2019-12-08 12:25:53
  from 'D:\xampp\htdocs\ps_project\application\views\templates\rider\myorder.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_5decddc14856e7_96053516',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '9d62abc547ce9bc7240828d66c1471f7667c1ba4' => 
    array (
      0 => 'D:\\xampp\\htdocs\\ps_project\\application\\views\\templates\\rider\\myorder.tpl',
      1 => 1575804351,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5decddc14856e7_96053516 (Smarty_Internal_Template $_smarty_tpl) {
?><!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/html">

<head>
	<meta charset="UTF-8">
	<title>我的订单</title>
</head>

<body>
<ul>
	<?php if ($_smarty_tpl->tpl_vars['orders']->value != NULL) {?>
		<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['orders']->value, 'details');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['details']->value) {
?>
			<li>订单ID: <?php echo $_smarty_tpl->tpl_vars['details']->value->id;?>
</li>
			<li>下单时间: <?php echo $_smarty_tpl->tpl_vars['details']->value->comfirm_time;?>
</li>
			<li>送达地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_addr;?>
</li>
			<li>收货人姓名: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_name;?>
</li>
			<li>收货人电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->dst_phone;?>
</li>
			<li>商家名: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_name;?>
</li>
			<li>商家地址: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_addr;?>
</li>
			<li>商家电话: <?php echo $_smarty_tpl->tpl_vars['details']->value->src_phone;?>
</li>
			<form action="<?php echo $_smarty_tpl->tpl_vars['base_url']->value['base_url'];?>
rider/myorder" method="post">
				<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['details']->value->id;?>
" >
				<button type="submit" name="submit" value="finish">
					<span>已送达</span>
				</button>
			</form>
			<br>
		<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
	<?php } else { ?>
		无订单
	<?php }?>
</ul>

</body>

</html>
<?php }
}
